package info.hexin.json.serialize.render;

import info.hexin.json.serialize.JsonRender;
import info.hexin.json.serialize.StringWrite;

public class BooleanRender  implements JsonRender{
    public static BooleanRender instance = new BooleanRender();

    @Override
    public void render(Object object, StringWrite write) {
        Boolean boolean1 =  Boolean.parseBoolean(object.toString());
        write.appendString(boolean1.toString());
    }
}
